from flask import Blueprint, render_template, session

index5 = Blueprint('index5', __name__)


@index5.context_processor
def my_func():
    def add(a, b):
        return a + b
    return {'my_add2': add}


@index5.context_processor
def my_func2():
    def add(a, b):
        return a + b
    return dict(my_add=add)


@index5.route('/index-new3')
def my_index():
    return render_template('index5.html')
